<?php
/**
 * 人事管理模块
 * 
 * Personnel Module
 *
 * @author Elwin <34557049@qq.com>
 * @link 
 * @license http://www.opensource.org/licenses/bsd-license.php
 * @version $Id: PersonnelModule.php 2012-04-19
 */
class PersonnelModule extends CWebModule
{
	/**
	 * 
	 */
	public function init()
	{
		$this->setImport ( 'Personnel.models.*', 'Personnel.componets.*' );
		/*
		 * $this->controllerMap
		 * $cssDir  = Yii::getPathOfAlias("a.css");
		 * Yii::app()->assetManager->publish($cssDir).'/grbac.css';
		 */
	}
	
	/**
	 * 
	 */
	public function beforeControllerAction($controller, $action)
	{
		if (parent::beforeControllerAction ( $controller, $action ))
		{
			return true;
		} else
		{
			return false;
		}
	}
}
?>